import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/prototype'
import './filters'
import VideoPlayer from 'vue-video-player';
import 'video.js/dist/video-js.css';




// @ts-ignore
import ViewUI from 'view-design';
// @ts-ignore
import {Message, Spin} from 'view-design'
import 'view-design/dist/styles/iview.css';
Vue.use(ViewUI)

//全部请求接口

import http from "@/http/api";
Vue.prototype.http = http;//把引入的公共方法 变成全局使用

// @ts-ignore
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

//视频
// @ts-ignore
import Video from 'video.js'
import 'video.js/dist/video-js.css'
Vue.prototype.$video = Video


Vue.config.productionTip = false
Vue.use(VideoPlayer);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
